package com.niiwoo.civet.account.service.trade;

import com.niiwoo.civet.account.dto.common.WithholdOrderDTO;
import com.niiwoo.civet.account.enums.WithholdOrderStatusEnum;

/**
 * 代扣相关业务接口
 * Created by wangjichao on 2018/4/19.
 */
public interface WithholdDubboService {

    /**
     * 查询代扣订单信息:applyOrderId对应表中的order_id
     * @param applyOrderId
     * @return
     */
    default WithholdOrderDTO queryWithholdOrderByApplyOrderId(Long applyOrderId){
        throw new UnsupportedOperationException("unimplemented");
    }


    /**
     * 查询懒猫代扣结果并补单
     */
    default void queryLanMaoWithholdResultJob(){
        throw new UnsupportedOperationException("unimplemented");
    }

    /**
     * 手动处理代扣订单结果
     * @param withholdOrderId
     * @return
     */
    default void handProcessWithholdResult(Long withholdOrderId, WithholdOrderStatusEnum withholdOrderStatus){
        throw new UnsupportedOperationException("unimplemented");
    }




}
